home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / UTILITY / DO1002.ARJ / GD.SCR < prev    next >
Text File  |  1991-12-03  |  541b  |  22 lines

  1. .pg wi full clr cy
  2.     COMMAND NAME»gray«: »%t« GetDirectory »ye«
  3.  
  4.     /GD {variable}
  5. /cw
  6.     The »%t«GetDirectory»#« command gets the current directory name and
  7.     stores it in the text variable »cy«{variable}»#«.
  8.  
  9. .pg
  10.     Here is a command that gets the current directory and stores
  11.     the information in the variable »ye«DEFAULT»#«.
  12.  
  13. |/GD Default
  14.  
  15.     Now let's display the result:
  16. |    The current directory is »wh«%Default»#«.
  17.  
  18.     And, let's display a directory using »%t«/DIR»#«:
  19.  
  20. |/DIR %Default
  21. /ENDEXEC CLEAR
  22.